package cn.zust.ly.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.client.HttpClientErrorException;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * Created by liy on 2016/12/4.
 */
@Controller
public class ViewController {

    @RequestMapping("login")
    public String login() {
        return "login";
    }


    @RequestMapping("oneUser")
    public String oneUser() {
        return "oneUser";
    }

    @RequestMapping("userUpdate")
    public String userUpdate() {
        return "userUpdate";
    }

    @RequestMapping("register")
    public String register() {
        return "register";
    }

    @RequestMapping("pwdUpdate")
    public String pwdUpdate() {
        return "pwdUpdate";
    }

    @RequestMapping("picUpload")
    public String picUpload() {
        return "picUpload";
    }

    @RequestMapping("personSpace")
    public String personSpace() {
        return "personSpace";
    }


}
